package com.zhx.learn.java;

import java.util.Arrays;
import java.util.List;

/**
 * @author ：zhanghaixuan
 * @date ：Created in 2019-06-14 16:23
 * @description：用途:
 * @modified By：zhanghaixuan
 * @version: 1.0
 */
public class FilterApple {

    private static List<Apple> findGreenApple(List<Apple> apples){
        return null;
    }


    public static void main(String[] args) {
        List<Apple> apples = Arrays.asList(new Apple("green",150),new Apple("green",123)
        ,new Apple("yellow",105));

        assert findGreenApple(apples).size() == 2;
    }
}
